home *** CD-ROM | disk | FTP | other *** search
/ Sprite 1984 - 1993 / Sprite 1984 - 1993.iso / src / cmds / find / dist / lib / Makefile < prev    next >
Encoding:
Makefile  |  1993-01-06  |  2.1 KB  |  80 lines

  1. # Generated automatically from Makefile.in by configure.
  2. # Makefile for library files used by GNU find, xargs, and locate.
  3. # Do not use this makefile directly, but only from `../Makefile'.
  4. # Copyright (C) 1990 Free Software Foundation, Inc.
  5.  
  6. # This program is free software; you can redistribute it and/or modify
  7. # it under the terms of the GNU General Public License as published by
  8. # the Free Software Foundation; either version 2, or (at your option)
  9. # any later version.
  10.  
  11. # This program is distributed in the hope that it will be useful,
  12. # but WITHOUT ANY WARRANTY; without even the implied warranty of
  13. # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  14. # GNU General Public License for more details.
  15.  
  16. # You should have received a copy of the GNU General Public License
  17. # along with this program; if not, write to the Free Software
  18. # Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  19.  
  20. SHELL = /bin/sh
  21.  
  22. srcdir = .
  23. VPATH = .
  24.  
  25. SOURCES = dirname.c error.c filemode.c getopt.c getopt1.c idcache.c \
  26. listfile.c modechange.c nextelem.c regex.c savedir.c xmalloc.c \
  27. xstrdup.c fileblocks.c fnmatch.c memset.c stpcpy.c strdup.c strftime.c \
  28. strspn.c strstr.c strtol.c alloca.c
  29.  
  30. OBJECTS = dirname.o error.o filemode.o getopt.o getopt1.o idcache.o \
  31. listfile.o modechange.o nextelem.o regex.o savedir.o xmalloc.o \
  32. xstrdup.o  fnmatch.o memset.o stpcpy.o strdup.o strftime.o strspn.o strstr.o strtol.o fileblocks.o alloca.o
  33.  
  34. DISTFILES = Makefile.in \
  35. fnmatch.h getopt.h modechange.h modetype.h pathmax.h regex.h wait.h $(SOURCES)
  36.  
  37. all: libfind.a
  38. .PHONY: all
  39.  
  40. .c.o:
  41.     $(CC) -c $(CFLAGS) $(CPPFLAGS) $(DEFS) -I$(srcdir) $<
  42.  
  43. install: all
  44. .PHONY: install
  45.  
  46. TAGS: $(SOURCES)
  47.     etags $(SOURCES)
  48.  
  49. clean:
  50.     rm -f *.a *.o
  51. .PHONY: clean
  52.  
  53. mostlyclean: clean
  54. .PHONY: mostlyclean
  55.  
  56. distclean: clean
  57.     rm -f Makefile
  58. .PHONY: distclean
  59.  
  60. realclean: distclean
  61.     rm -f TAGS
  62. .PHONY: realclean
  63.  
  64. dist:
  65.     ln $(DISTFILES) ../`cat ../.fname`/lib
  66. .PHONY: dist
  67.  
  68. libfind.a: $(OBJECTS)
  69.     rm -f $@
  70.     $(AR) cr $@ $(OBJECTS)
  71.     -$(RANLIB) $@
  72.  
  73. fnmatch.o: fnmatch.h
  74. getopt1.o: getopt.h
  75. modechange.o: modechange.h
  76. regex.o: regex.h
  77.  
  78. # Prevent GNU make v3 from overflowing arg limit on SysV.
  79. .NOEXPORT:
  80.